<%@page import="com.liferay.portal.kernel.language.LanguageUtil"%>
<%@page import="javax.portlet.PortletURL"%>
<%@page import="javax.portlet.WindowState"%>
<%@page import="javax.portlet.PortletURL"%>
<%@page import="doan.quanlycanbo.portlet.model.chucvu" %>
<%@page import="doan.quanlycanbo.portlet.service.chucvuLocalServiceUtil" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="/init.jsp" %>
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>

<%
	String tabsName = "tab.qldv.donvi";
	long machucvu = Long.valueOf(renderRequest.getParameter("machucvu"));
	chucvu cv = chucvuLocalServiceUtil.getChucvu(machucvu);
%>

<portlet:actionURL name="updateFunction" var="updateFunctionURL"/>

<liferay-ui:tabs names="<%= tabsName %>"  />
	<aui:form name="fm" Method="post" action="<%= updateFunctionURL.toString() %>" >
		<aui:input type="hidden" name="idChucvu" value="<%= cv.getMachucvu() %>"/>
		<table >
			<tr height="30"></tr>
			<tr height="30">
				<td width="20%"><%=LanguageUtil.get(pageContext, "managecontacts.agency.add-agency","Ten chuc vu") %></td>
				<td align="left"><aui:input name="tenchucvu" label="" value="<%= cv.getTenchucvu() %>"  style="width:350px" />  </td>
			</tr>							 
		</table>
		<br/><br/>
				
		<aui:button type="submit" value='<%=LanguageUtil.get(pageContext, "managecontacts.agency.add-button.save","Luu") %>'/>
		<aui:button type="button" value='<%=LanguageUtil.get(pageContext, "managecontacts.agency.add-button.cancel","Thoat") %>' onClick="history.back();"/>	
	</aui:form>








